import request from '../utils/request';

const url = 'http://localhost:8080/account';
export const login = (loginForm : any) => {
    return request({
        url: url+'/login',
        method: 'post',
        data : loginForm
    });
};